package com.mingzhi.product.bean;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.math.BigDecimal;

@Data
@Tag(name = "商品信息")
public class Product {

    @Schema(description = "商品id")
    private Long id;

    @Schema(description = "商品价格")
    private BigDecimal price;

    @Schema(description = "商品名称")
    private String name;

    @Schema(description = "商品数量")
    private Integer num;
}
